﻿using System;
using viBlog.Controllers;
using visinia.SmartEngine.Installer;
using visinia.SmartEngine.Site;

public partial class Admin_Pages_viBlog_Dashboard_Items_CMS_Summary : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        visinia_VERSION.Text = "visinia  " + SiteSettings.visiniaVersion;
        BLOG_VERSION.Text = "viBlog " + BlogController.BlogVersion;
        MODULES_COUNT.Text = ModulesInstalledController.GetInstalledModules().FindAll(p => string.Compare(p.Package, "viblog", true) == 0).Count.ToString();
    }
}